home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 205_01 / ccl_cl.doc < prev    next >
Text File  |  1980-01-01  |  1KB  |  32 lines

  1. -------------------------------------------------------------------------------
  2.  CCL-CL
  3. -------------------------------------------------------------------------------
  4.  
  5. Format:
  6.  
  7.      ccl-cl [ < [filename[.ext]]
  8.  
  9. Purpose:
  10.  
  11. Depending on the operating system or the network communications protocol, the
  12. line termination sequence varies.
  13.  
  14. During exchange of files with operating systems other than MS-DOS, it is 
  15. possible that you will receive a text file with an improper line termination 
  16. sequence.  This may be confirmed by either (1) verifying the improper line
  17. termination sequence by dumping the file using debug or a filedump utility, or 
  18. by (2) viewing it in an editor (such as vi or WordStar) which shows control
  19. characters.
  20.  
  21. The CCL-CL filter terminates the lines properly for use with MS-DOS.  CCL-CL 
  22. takes its input from stdin and converts all [CR][CR][LF] sequences to [CR][LF]
  23. sequences.  
  24.  
  25. Example:
  26.  
  27. Convert the file named bbs.doc, which came from a Bulletin Board system, to
  28. MS-DOS format and save it in the file named result.
  29.  
  30.      ccl-cl < bbs.doc > result
  31.  
  32.